package cave.layer;

public class LayerEvent {
	
	public static enum Type {
		CREATE,
		OPEN,
		PAUSE,
		RESUME,
		CLOSE,
		DESTROY
	}
	
	private String layerId;
	private Type type;
	
	public LayerEvent(String layerId, Type type) {
		this.layerId = layerId;
		this.type = type;
	}

	public String getLayerId() {
		return layerId;
	}

	public Type getType() {
		return type;
	}

}
